package com.yenroc.invoice.pojo.xml;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.math.BigDecimal;

@XmlRootElement(name = "BasicInformation")
@XmlAccessorType(XmlAccessType.FIELD)
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class BasicInformationXmlDTO {
    @XmlElement(name = "TotalAmWithoutTax")
    private BigDecimal totalAmWithoutTax;

    @XmlElement(name = "TotalTaxAm")
    private BigDecimal totalTaxAm;

    @XmlElement(name = "TotalTax-includedAmount")
    private BigDecimal totalTaxIncludedAmount;

    @XmlElement(name = "TotalTax-includedAmountInChinese")
    private String totalTaxIncludedAmountInChinese;

    @XmlElement(name = "Drawer")
    private String drawer;

    @XmlElement(name = "RequestTime")
    private String requestTime;
}